.dashboard div{
   background-color:rgb(255, 248, 250);
}

.card {
  background-color: rgb(255, 248, 250); /* 恢复为原来的半透明白色背景 */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
  color: white;
  margin: 15px auto;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 95%;
  box-sizing: border-box;
  min-height: 350px;
  border: 2px solid #ff6f61;
}

.glow-blink {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-blink::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #ff6f61;
  z-index: -1;
  animation: glowBlink 1.2s infinite alternate;
}

@keyframes glowBlink {
  0%   { box-shadow: 0 0 0 0 rgba(255, 111, 97, 0.7); }
  100% { box-shadow: 0 0 15px 5px rgba(255, 111, 97, 0.9); }
}

.stat-card {
  background-color: #2A2A4F; /* 恢复为原来的深色背景 */
  border: 1px solid #4A4A7F;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  height: 100px;
  width: 180px;
  /* 初始边框样式 */
  border: 2px solid #ccc;
  
  /* 过渡动画：让边框颜色变化更平滑（关键） */
  transition: border-color 0.3s ease;
}

.stat-card:hover {
  border-color: #42b983; /* Vue标志性绿色，可替换为任意颜色 */
}

.label {
  color: #B0B0D0;
  font-size: 14px;
  margin-bottom: 8px;
}

.value {
  color: #E0E0FF;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
  font-weight: bold;
  /* 文字样式 */
  text-decoration: none; /* 移除默认下划线 */
  position: relative; /* 用于定位下划线 */
  display: inline-block;
}

/* 下划线渐变效果 */
.value::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px; /* 下划线与文字的距离 */
  width: 100%;
  height: 3px; /* 下划线厚度 */
  /* 渐变颜色（可自定义） */
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1);
  border-radius: 2px; /* 下划线圆角（可选） */
}

.trend {
  color: #B0B0D0;
  font-size: 12px;
  font-weight: bold;
}

.trend-up {
  color: #36D399;
}

.flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  font-weight: bold;
  gap: 20px;
  margin: 10px 0;
}

.flex-container div {
  width: 100%;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .flex-container {
    flex-wrap: wrap;
  }
  
  .stat-card {
    width: calc(50% - 20px);
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .card {
    padding: 15px;
    min-height: 300px;
  }
  
  .stat-card {
    width: 100%;
    height: 90px;
    padding: 10px;
  }
  
  .value {
    font-size: 24px;
  }
  
  .label {
    font-size: 12px;
  }
}